/**
 * 
 */
package com.tvshows.front.ui.menu;

import org.eclipse.swt.widgets.MenuItem;

import com.tvshows.front.ui.FrontUI;

/**
 * @author tMidy
 * <p>
 * Menu interface
 * </p>
 */
public interface MenuUI
    extends FrontUI
{

    /**
     * Initializes the menu
     * 
     * @param view the view to include the menu
     */
    void initMenus( FrontUI view );

    /**
     * @return the logItem
     */
    MenuItem getLogItem();

    /**
     * @return the quitItem
     */
    MenuItem getQuitterItem();

    /**
     * @return the optionsItem
     */
    MenuItem getOptionsItem();

    /**
     * @return the exportXmlItem
     */
    MenuItem getExportXmlItem();

    /**
     * @return the main view
     */
    FrontUI getMainView();

    /**
     * success export/import Popup
     */
    void showSuccess();

    /**
     * @return the importMenu Item
     */
    MenuItem getImportXmlItem();

    /**
     * @return the activeSqlItem
     */
    MenuItem getActiveSqlItem();

    /**
     * failure export/import Popup
     */
    void showFailure();
}
